package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class IntegralConsumeRelation implements Serializable {
    private static final long serialVersionUID = -5344413867865978556L;

    /**
     * This field corresponds to the database column integral_consume_relation.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column integral_consume_relation.type
     */
    private Integer type = 0;

    /**
     * This field corresponds to the database column integral_consume_relation.integral_num
     */
    private Integer integralNum = 0;

    /**
     * This field corresponds to the database column integral_consume_relation.start_time
     */
    private Date startTime = new Date();

    /**
     * This field corresponds to the database column integral_consume_relation.end_time
     */
    private Date endTime = new Date();

    /**
     * This field corresponds to the database column integral_consume_relation.ratio
     */
    private BigDecimal ratio;

    /**
     * This field corresponds to the database column integral_consume_relation.remark
     */
    private String remark;
    
    private Integer levelId = 0;
    
    private BigDecimal rebate;

    public Integer getLevelId() {
		return levelId;
	}

	public void setLevelId(Integer levelId) {
		this.levelId = levelId;
	}

	public BigDecimal getRebate() {
		return rebate;
	}

	public void setRebate(BigDecimal rebate) {
		this.rebate = rebate;
	}

	/**
     * This method returns the value of the database column integral_consume_relation.id
     *
     * @return the value of integral_consume_relation.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column integral_consume_relation.id
     *
     * @param id the value for integral_consume_relation.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column integral_consume_relation.type
     *
     * @return the value of integral_consume_relation.type
     */
    public Integer getType() {
        return type;
    }

    /**
     * This method sets the value of the database column integral_consume_relation.type
     *
     * @param type the value for integral_consume_relation.type
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method returns the value of the database column integral_consume_relation.integral_num
     *
     * @return the value of integral_consume_relation.integral_num
     */
    public Integer getIntegralNum() {
        return integralNum;
    }

    /**
     * This method sets the value of the database column integral_consume_relation.integral_num
     *
     * @param integralNum the value for integral_consume_relation.integral_num
     */
    public void setIntegralNum(Integer integralNum) {
        this.integralNum = integralNum;
    }

    /**
     * This method returns the value of the database column integral_consume_relation.start_time
     *
     * @return the value of integral_consume_relation.start_time
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * This method sets the value of the database column integral_consume_relation.start_time
     *
     * @param startTime the value for integral_consume_relation.start_time
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * This method returns the value of the database column integral_consume_relation.end_time
     *
     * @return the value of integral_consume_relation.end_time
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * This method sets the value of the database column integral_consume_relation.end_time
     *
     * @param endTime the value for integral_consume_relation.end_time
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * This method returns the value of the database column integral_consume_relation.ratio
     *
     * @return the value of integral_consume_relation.ratio
     */
    public BigDecimal getRatio() {
        return ratio;
    }

    /**
     * This method sets the value of the database column integral_consume_relation.ratio
     *
     * @param ratio the value for integral_consume_relation.ratio
     */
    public void setRatio(BigDecimal ratio) {
        this.ratio = ratio;
    }

    /**
     * This method returns the value of the database column integral_consume_relation.remark
     *
     * @return the value of integral_consume_relation.remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method sets the value of the database column integral_consume_relation.remark
     *
     * @param remark the value for integral_consume_relation.remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }
}